package com.example.demomybatis.mapper;

import cn.hutool.core.lang.Pair;
import com.example.demomybatis.entity.Person;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.CacheNamespace;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author zhaoheng
 * @since 2023-07-07
 */
@CacheNamespace
public interface PersonMapper extends BaseMapper<Person> {

    List<Person> queryAllPerson();

    List<Pair<String, Integer>> queryId();
}
